package com.bnlr.lrparking.appui.order.mode;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/12/9 0009.
 */

public class OrderIntentBean implements Parcelable {
    private String id;
    private int DealPrice;
    private int ParkingId;
    private int AdvanceMoney;
    private String DealUserName;
    private String DealPhone;
    private int statusInt;
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatusInt() {
        return statusInt;
    }

    public void setStatusInt(int statusInt) {
        this.statusInt = statusInt;
    }

    public int getAdvanceMoney() {
        return AdvanceMoney;
    }

    public void setAdvanceMoney(int advanceMoney) {
        AdvanceMoney = advanceMoney;
    }

    public String getDealUserName() {
        return DealUserName;
    }

    public void setDealUserName(String dealUserName) {
        DealUserName = dealUserName;
    }

    public String getDealPhone() {
        return DealPhone;
    }

    public void setDealPhone(String dealPhone) {
        DealPhone = dealPhone;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getDealPrice() {
        return DealPrice;
    }

    public void setDealPrice(int dealPrice) {
        DealPrice = dealPrice;
    }

    public int getParkingId() {
        return ParkingId;
    }

    public void setParkingId(int parkingId) {
        ParkingId = parkingId;
    }

    public OrderIntentBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeInt(this.DealPrice);
        dest.writeInt(this.ParkingId);
        dest.writeInt(this.AdvanceMoney);
        dest.writeString(this.DealUserName);
        dest.writeString(this.DealPhone);
        dest.writeInt(this.statusInt);
        dest.writeInt(this.type);
    }

    protected OrderIntentBean(Parcel in) {
        this.id = in.readString();
        this.DealPrice = in.readInt();
        this.ParkingId = in.readInt();
        this.AdvanceMoney = in.readInt();
        this.DealUserName = in.readString();
        this.DealPhone = in.readString();
        this.statusInt = in.readInt();
        this.type = in.readInt();
    }

    public static final Creator<OrderIntentBean> CREATOR = new Creator<OrderIntentBean>() {
        @Override
        public OrderIntentBean createFromParcel(Parcel source) {
            return new OrderIntentBean(source);
        }

        @Override
        public OrderIntentBean[] newArray(int size) {
            return new OrderIntentBean[size];
        }
    };
}
